﻿/*
  +++++++++++++++++++++++++++++++++++++++++++
  +  Description: 修改 字典数据表
  +  Created by 王大宸 on 2020-10-05 23:28:38
  +  Created with IntelliJ IDEA.
  ++++++++++++++++++++++++++++++++++++++++++++
 */

layui.use(['form'], function () {
    form = layui.form;
    form.render();

    /* 提交 */
    form.on('submit(editBaseDictData)', function (data) {
        let url = "/base/dict/data/" + data.field.id;
        $.http.update(url, data.field);
    });

});
